package com.jucai.pppeiyouclient.view.dialog;

import android.content.Context;
import android.view.View;

import com.jucai.pppeiyouclient.R;
import com.jucai.pppeiyouclient.base.BaseDialog;
import com.jucai.pppeiyouclient.comm.CommonMethod;

/**
 * Created by Kuky on 2017-04-25.
 */

public class BindSuccessDialog extends BaseDialog {
    private View dialogView;

    public BindSuccessDialog(Context context) {
        super(context);
    }

    public BindSuccessDialog(Context context, int themeResId) {
        super(context, themeResId);
    }

    protected BindSuccessDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    protected View initView() {
        dialogView = CommonMethod.getView(context, R.layout.dialog_bind_success);
        return dialogView;
    }

    @Override
    public void setOnclickListener(View.OnClickListener listener) {
        dialogView.findViewById(R.id.bind_success_sure).setOnClickListener(listener);
    }
}
